using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public interface ISystemBLogic: ISystemLogic
{
    public void LogicA();
}

public class SystemB : Singleton<SystemB>, ISystemBLogic
{
    SystemManager _systemManager;

    public object name { get => "SystemB"; }

    public void LoadManager(SystemManager systemManager)
    {
        this._systemManager = systemManager;
    }

    public void LogicA()
    {
        Debug.Log($"systemB logic_a call {_systemManager.systemA.name}");
    }

}
